package lesson17.cars;

public class SportsCar extends Car
{
	protected boolean isCabriolet;
	protected double price;
	
	SportsCar()
	{
		super(320);
	}
	
	protected void switchTurbo()
	{
		super.accelerate(this.currentSpeed * 2);
	}
	
	@Override
	protected void accelerate(double speed)
	{
		super.accelerate(speed);
		System.out.println("Sports car is accelerating!");
	}
}
